<template>
    <div>
        <h1 class="text-center">{{page1_b}}</h1>
        <ul class="text-center">
            <li v-for="item in links" @click="$goRoute(item.route)">{{item.text}}</li>
        </ul>
        <router-view></router-view>
    </div>
    
</template>
<script>
    export default {
        data () {
            return {
                page1_b:"1_b page",
                links:[
                    {
                        text:"1_b 1",
                        route:"/page1/page1_b/end"
                    },
                    {
                        text:"1_b 2",
                        route:"/home"
                    }
                ]
            }
        }
    }
</script>
<style>
</style>